#!/usr/pkg/bin/bash
#
############################################################
#
runtime_s = 1
echo "shellsort  vC../alice.txt"
mypid=$$
time ./tp1_c -s ../alice.txt > out.txt &
cpid=$!
#sleep $runtime_s
##kill -s SIGTERM $cpid
#
echo "shellsort  vC ../beowulf.txt"
mypid=$$
time ./tp1_c -s ../beowulf.txt > out.txt &
cpid=$!
#sleep $runtime_s
##kill -s SIGTERM $cpid
#
echo "shellsort  vC ../cyclopedia.txt"
mypid=$$
time ./tp1_c -s ../cyclopedia.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
#
echo "shellsort  vC ../elquijote.txt"
mypid=$$
time ./tp1_c -s ../elquijote.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
############################################################
#
echo "shellsort  vA ../alice.txt"
mypid=$$
time ./tp1_a -s ../alice.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
#
echo "shellsort  vA ../beowulf.txt"
mypid=$$
time ./tp1_a -s ../beowulf.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
#
echo "shellsort  vA ../cyclopedia.txt"
mypid=$$
time ./tp1_a -s ../cyclopedia.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
#
echo "shellsort  vA ../elquijote.txt"
mypid=$$
time ./tp1_a -s ../elquijote.txt > out.txt &
cpid=$!
#sleep $runtime_s
#kill -s SIGTERM $cpid
#